﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SchoolPointe.Menus.ViewModels
{
    public class MenuViewModel
    {
        public MenuViewModel()
        {

        }

        public MenuViewModel(Models.BetterMenuPart part) : base()
        {
            this.Name = part.Name;
            this.MenuId = part.Id;
        }

        [Required]
        [DisplayName("Menu Name")]
        public string Name { get; set; }

        public int MenuId { get; set; }
    }
}